﻿// utf8模板
#ifndef _OI_RESULT_WIDGET_HPP_
#define _OI_RESULT_WIDGET_HPP_


#include "PLScannerCore/OiPLScannerCore.hpp"
#include "PLScannerCore/Config/OiProductParams.hpp"
#include "PLScannerCore/OiPLScannerWorker.hpp"

namespace Oi
{
    namespace PLScannerDll
    {
        class ResultWidget :public QWidget
        {
        public:
            ResultWidget(const QString& title, QWidget* parent = nullptr);
            ~ResultWidget();
            QString title() const;
            void setValue(double msrVal, double stdVal);
            void setRateCPCPK(double rate, double cp, double cpk);

        private:
            OI_DISABLE_COPY(ResultWidget);
            OI_DECLARE_IMPL(ResultWidget);
        };
    }
}


#endif // !_OI_RESULT_WIDGET_HPP_
